<html>
<head><title>Javascript Test</title</head>
<body>
<script language="javascript">
document.write   ("<H1>This is a heading)</H1>");    
document.writeln( "Hello World! ","Hello You! ","<p style='color:blue;'>Hello World!</p>");
document.writeln("Hi, this is " + "<b>A bold line</b>" + " and this is "  + "<i>an italicized line</i>");
document.writeln( "<p>Hi, this is ", "A paragraph</p>", "<p>And this is "  + "Another one</p>");
document.writeln( - "<p>Hi, this is another one</p>");
document.write('A text enclosed in single quote');
</script>
<p>Hello this is a paragraph</p>
<script language="javascript">
function test() 
{
  var x = 10
}
</script>
</body>
</html>
